import FindView from '@/views/FindView.vue'
import FriendView from '@/views/FriendView.vue'
import MyView from '@/views/MyView.vue'
import {createRouter, createWebHashHistory} from 'vue-router'
// 创建路由实例
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    // path地址栏路径 
    {path:'/find',component:FindView},
    {path:'/my',component:MyView},
    {path:'/friend',component:FriendView}
  ]
})

export default router